| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

Public Member Functions | List of all members
nkDebug::TestStackLevel Class Referencefinal

Holds information about a stack level. More...

## Public Member Functions
| TestStackLevel () noexcept
| TestStackLevel (nkMemory::StringView functionName, unsigned int line) noexcept
nkMemory::StringView | getFunctionName () const
unsigned int | getLine () const
void | setFunctionName (nkMemory::StringView value)
void | setLine (unsigned int value)

## Detailed Description

Holds information about a stack level.

## Constructor & Destructor Documentation

## ◆ TestStackLevel() [1/2]

nkDebug::TestStackLevel::TestStackLevel | ( |  | ) |
| noexcept

Default constructor.

## ◆ TestStackLevel() [2/2]

nkDebug::TestStackLevel::TestStackLevel | ( | nkMemory::StringView | functionName,
|  | unsigned int | line
| ) |  |
| noexcept

Parameterized constructor.

Parameters

  functionName | The name of the function at the stack level.
  line | The line at the stack level.

## Member Function Documentation

## ◆ getFunctionName()

nkMemory::StringView nkDebug::TestStackLevel::getFunctionName | ( |  | ) | const

Returns
  The level's function name.

## ◆ getLine()

unsigned int nkDebug::TestStackLevel::getLine | ( |  | ) | const

The level's source code line.

## ◆ setFunctionName()

void nkDebug::TestStackLevel::setFunctionName | ( | nkMemory::StringView | value | ) |

Allows to set the level's function name.

Parameters

  value | The function name to set.

## ◆ setLine()

void nkDebug::TestStackLevel::setLine | ( | unsigned int | value | ) |

Allows to set the level's source code line.

Parameters

  value | The source code line to set.

The documentation for this class was generated from the following file:

- Documentation/Headers/NilkinsDebug/Testing/Data/TestStackLevel.h